#include "define.h"
#include "CWinTest.h"

CWinTest MainWin;

int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdShow)
{
    MSG Msg = { 0 };
    RECT rc = { 0,0,500,300 };
    HWND hWnd = MainWin.m_xWinTest.Create(nullptr, rc, nullptr, WS_OVERLAPPEDWINDOW);

    MainWin.m_xWinTest.UpdateWindow();
    MainWin.m_xWinTest.ShowWindow(SW_SHOW);

    while (GetMessage(&Msg, nullptr, 0, 0))
    {
        TranslateMessage(&Msg);
        DispatchMessage(&Msg);
    }

    return 0;
}
